diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | openbsd-compat/openssl-compat.c | 3 |
2 files changed, 5 insertions, 2 deletions
@@ -1,3 +1,7 @@ | |||
1 | 20101205 | ||
2 | - (dtucker) openbsd-compat/openssl-compat.c] remove sleep leftover from | ||
3 | debugging. Spotted by djm. | ||
4 | |||
1 | 20101204 | 5 | 20101204 |
2 | - (djm) [openbsd-compat/bindresvport.c] Use arc4random_uniform(range) | 6 | - (djm) [openbsd-compat/bindresvport.c] Use arc4random_uniform(range) |
3 | instead of (arc4random() % range) | 7 | instead of (arc4random() % range) |
diff --git a/openbsd-compat/openssl-compat.c b/openbsd-compat/openssl-compat.c index e2d090cf1..eb5ae7f85 100644 --- a/openbsd-compat/openssl-compat.c +++ b/openbsd-compat/openssl-compat.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: openssl-compat.c,v 1.11 2010/12/04 12:20:50 dtucker Exp $ */ | 1 | /* $Id: openssl-compat.c,v 1.12 2010/12/04 21:46:05 dtucker Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2005 Darren Tucker <dtucker@zip.com.au> | 4 | * Copyright (c) 2005 Darren Tucker <dtucker@zip.com.au> |
@@ -81,7 +81,6 @@ RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *bn_e, void *cb) | |||
81 | RSA *new_rsa, tmp_rsa; | 81 | RSA *new_rsa, tmp_rsa; |
82 | unsigned long e; | 82 | unsigned long e; |
83 | 83 | ||
84 | sleep(1); | ||
85 | if (cb != NULL) | 84 | if (cb != NULL) |
86 | fatal("%s: callback args not supported", __func__); | 85 | fatal("%s: callback args not supported", __func__); |
87 | e = BN_get_word(bn_e); | 86 | e = BN_get_word(bn_e); |