diff options
Diffstat (limited to 'src/lib/libcrypto/rand')
| -rw-r--r-- | src/lib/libcrypto/rand/rand.h | 5 | ||||
| -rw-r--r-- | src/lib/libcrypto/rand/rand_lib.c | 11 |
2 files changed, 2 insertions, 14 deletions
diff --git a/src/lib/libcrypto/rand/rand.h b/src/lib/libcrypto/rand/rand.h index a0e9b47969..d66d71579c 100644 --- a/src/lib/libcrypto/rand/rand.h +++ b/src/lib/libcrypto/rand/rand.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: rand.h,v 1.23 2022/07/12 14:42:50 kn Exp $ */ | 1 | /* $OpenBSD: rand.h,v 1.24 2023/11/19 15:46:10 tb Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -83,9 +83,6 @@ struct rand_meth_st { | |||
| 83 | 83 | ||
| 84 | int RAND_set_rand_method(const RAND_METHOD *meth); | 84 | int RAND_set_rand_method(const RAND_METHOD *meth); |
| 85 | const RAND_METHOD *RAND_get_rand_method(void); | 85 | const RAND_METHOD *RAND_get_rand_method(void); |
| 86 | #ifndef OPENSSL_NO_ENGINE | ||
| 87 | int RAND_set_rand_engine(ENGINE *engine); | ||
| 88 | #endif | ||
| 89 | RAND_METHOD *RAND_SSLeay(void); | 86 | RAND_METHOD *RAND_SSLeay(void); |
| 90 | 87 | ||
| 91 | #ifndef LIBRESSL_INTERNAL | 88 | #ifndef LIBRESSL_INTERNAL |
diff --git a/src/lib/libcrypto/rand/rand_lib.c b/src/lib/libcrypto/rand/rand_lib.c index 5c5df98c98..b9ef0deebe 100644 --- a/src/lib/libcrypto/rand/rand_lib.c +++ b/src/lib/libcrypto/rand/rand_lib.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: rand_lib.c,v 1.22 2023/07/07 19:37:54 beck Exp $ */ | 1 | /* $OpenBSD: rand_lib.c,v 1.23 2023/11/19 15:46:10 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> | 3 | * Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> |
| 4 | * | 4 | * |
| @@ -45,15 +45,6 @@ RAND_SSLeay(void) | |||
| 45 | } | 45 | } |
| 46 | LCRYPTO_ALIAS(RAND_SSLeay); | 46 | LCRYPTO_ALIAS(RAND_SSLeay); |
| 47 | 47 | ||
| 48 | #ifndef OPENSSL_NO_ENGINE | ||
| 49 | int | ||
| 50 | RAND_set_rand_engine(ENGINE *engine) | ||
| 51 | { | ||
| 52 | return 1; | ||
| 53 | } | ||
| 54 | LCRYPTO_ALIAS(RAND_set_rand_engine); | ||
| 55 | #endif | ||
| 56 | |||
| 57 | void | 48 | void |
| 58 | RAND_cleanup(void) | 49 | RAND_cleanup(void) |
| 59 | { | 50 | { |
