diff options
author | tb <> | 2023-11-19 15:46:10 +0000 |
---|---|---|
committer | tb <> | 2023-11-19 15:46:10 +0000 |
commit | 9e356d4225ee2dcd3e3eebabf384851ee547ec95 (patch) | |
tree | 9a8bf5329015d40f6a79820880c1ca7bb820bf58 /src/lib/libcrypto/rand/rand_lib.c | |
parent | fea63fbd7eeaebeff6720b8ec754575f90e8eb77 (diff) | |
download | openbsd-9e356d4225ee2dcd3e3eebabf384851ee547ec95.tar.gz openbsd-9e356d4225ee2dcd3e3eebabf384851ee547ec95.tar.bz2 openbsd-9e356d4225ee2dcd3e3eebabf384851ee547ec95.zip |
Unifdef OPENSSL_NO_ENGINE in libcrypto
This is mechanical apart from a few manual edits to avoid doubled empty
lines.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/rand/rand_lib.c')
-rw-r--r-- | src/lib/libcrypto/rand/rand_lib.c | 11 |
1 files changed, 1 insertions, 10 deletions
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 | { |