diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2000-09-27 00:09:55 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2000-09-27 00:09:55 +0000 |
commit | 1769a90abbaadc69f4b37a8c1457b947353471bc (patch) | |
tree | ecface96b4b47136e41b2ff44aa24ea7245ebc64 | |
parent | d2edc5d3463783aa17fd522e7132271518ec974e (diff) |
Sync again (remove unneeded RAND_set calls).
-rw-r--r-- | lib/libkeynote/environment.c | 6 | ||||
-rw-r--r-- | lib/libkeynote/keynote-keygen.c | 4 |
2 files changed, 2 insertions, 8 deletions
diff --git a/lib/libkeynote/environment.c b/lib/libkeynote/environment.c index 6cfeef2f616..3fd90af4bc9 100644 --- a/lib/libkeynote/environment.c +++ b/lib/libkeynote/environment.c @@ -1,4 +1,4 @@ -/* $OpenBSD: environment.c,v 1.13 2000/09/26 23:28:46 angelos Exp $ */ +/* $OpenBSD: environment.c,v 1.14 2000/09/27 00:09:54 angelos Exp $ */ /* * The author of this code is Angelos D. Keromytis (angelos@dsl.cis.upenn.edu) * @@ -370,10 +370,6 @@ keynote_env_cleanup(struct environment **table, u_int hashsize) static int keynote_init_environment(void) { -#ifdef CRYPTO - RAND_set_rand_method(RAND_SSLeay()); -#endif /* CRYPTO */ - memset(keynote_current_session->ks_env_table, 0, HASHTABLESIZE * sizeof(struct environment *)); memset(keynote_current_session->ks_assertion_table, 0, diff --git a/lib/libkeynote/keynote-keygen.c b/lib/libkeynote/keynote-keygen.c index 581639cf10d..b3a2a2236af 100644 --- a/lib/libkeynote/keynote-keygen.c +++ b/lib/libkeynote/keynote-keygen.c @@ -1,4 +1,4 @@ -/* $OpenBSD: keynote-keygen.c,v 1.10 2000/09/26 23:28:46 angelos Exp $ */ +/* $OpenBSD: keynote-keygen.c,v 1.11 2000/09/27 00:09:54 angelos Exp $ */ /* * The author of this code is Angelos D. Keromytis (angelos@dsl.cis.upenn.edu) * @@ -176,8 +176,6 @@ keynote_keygen(int argc, char *argv[]) exit(-1); } - RAND_set_rand_method(RAND_SSLeay()); - if ((alg == KEYNOTE_ALGORITHM_DSA) && (ienc == INTERNAL_ENC_ASN1) && ((enc == ENCODING_HEX) || (enc == ENCODING_BASE64))) |