| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | all: remove $OBJTYPE from build | Russ Cox | 2020-12-30 | 1 | -1/+2 |
| | | | | | | | | Now that we assume pthreads, the only assembly left is in libmp and libsec. We only ever added assembly for 386. The portable C code is fine for plan9port. | ||||
| * | Trivial changes: whitespace and modes. | Dan Cross | 2020-01-10 | 18 | -420/+415 |
| | | | | | | | | | | Remote whitespace at the ends of lines. Remove blank lines from the ends of files. Change modes on source files so that they are not executable. Signed-off-by: Dan Cross <cross@gajendra.net> | ||||
| * | libsec: avoid undefined C | Xi Wang | 2013-03-19 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc compiles `p + length < p' into 'length < 0' since pointer overflow is undefined behavior in C. This breaks the check against a large `length'. Use `length > pend - p' instead. There's no need to check `length < 0' since `length' is from length_decode() and should be non-negative. === Try the simplified code. void bar(void); void foo(unsigned char *p, int length) { if (p + length < p) bar(); } $ gcc -S -o - t.c -O2 ... foo: .LFB0: .cfi_startproc testl %esi, %esi js .L4 rep ret .L4: jmp bar .cfi_endproc Clearly `p' is not used at all. R=rsc CC=plan9port.codebot https://codereview.appspot.com/7231069 | ||||
| * | fix clang warnings reported by Tuncer Ayaz | Russ Cox | 2012-10-21 | 1 | -1/+1 |
| | | | | | | R=rsc http://codereview.appspot.com/6744054 | ||||
| * | libsec: fix dsagen 64-bit bug | Russ Cox | 2011-10-05 | 1 | -1/+1 |
| | | |||||
| * | probably_prime: run more than one Miller-Rabin round | Russ Cox | 2010-03-11 | 1 | -12/+17 |
| | | | | | | R=rsc http://codereview.appspot.com/462041 | ||||
| * | libsec: update primetest to use mpfmt | Russ Cox | 2010-03-11 | 1 | -1/+1 |
| | | | | | | R=rsc http://codereview.appspot.com/464041 | ||||
| * | libsec: use intptr to silence 64-bit warning (Michael Teichgräber) | Russ Cox | 2008-03-06 | 1 | -1/+1 |
| | | |||||
| * | Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. | rsc | 2006-04-01 | 25 | -220/+220 |
| | | |||||
| * | add dsa x509 | rsc | 2005-02-13 | 1 | -0/+74 |
| | | |||||
| * | new allocrpc interface | rsc | 2005-02-11 | 1 | -6/+1 |
| | | |||||
| * | more little compile fixes | rsc | 2004-12-28 | 1 | -2/+2 |
| | | |||||
| * | silence various warnings | rsc | 2004-12-27 | 1 | -0/+4 |
| | | |||||
| * | add portdate | rsc | 2004-12-26 | 1 | -0/+56 |
| | | |||||
| * | changes from plan 9. some clean-up. | rsc | 2004-12-26 | 5 | -20/+91 |
| | | |||||
| * | Libsec doesn't compile without a reduce script, either. | wkj | 2004-04-21 | 1 | -0/+13 |
| | | |||||
| * | more tomfoolery. | rsc | 2004-04-21 | 1 | -1/+0 |
| | | | | | i bet mk can't read the mac os or sun os archives. | ||||
| * | make scripts work with more shells, | rsc | 2004-04-21 | 1 | -1/+3 |
| | | | | | use current variable names. | ||||
| * | clean up when finished. | rsc | 2004-04-19 | 1 | -1/+0 |
| | | | | | | don't set PLAN9 don't set PLAN9 | ||||
| * | SunOS can rot in hell. | rsc | 2004-03-26 | 1 | -1/+1 |
| | | |||||
| * | Add most of libsec. | rsc | 2004-03-21 | 47 | -0/+9625 |
| | | |||||
| * | Small tweaks | rsc | 2004-03-21 | 5 | -28/+45 |
| | | | | | Lots of new code imported. | ||||
| * | More tweaks on Linux and Solaris. | rsc | 2003-11-25 | 1 | -1/+1 |
| | | |||||
| * | Make things build on FreeBSD again. | rsc | 2003-11-23 | 2 | -1/+2 |
| | | |||||
| * | add libsec | rsc | 2003-11-23 | 11 | -0/+2906 |