diff options
author | tb <> | 2023-11-19 15:46:10 +0000 |
---|---|---|
committer | tb <> | 2023-11-19 15:46:10 +0000 |
commit | 593d97e74cc873d99aced677883cf55625efe62d (patch) | |
tree | 9a8bf5329015d40f6a79820880c1ca7bb820bf58 /src/lib/libcrypto/rand/rand_lib.c | |
parent | cde35b41c5eb9d9d0b61fe730c39e6a5c553b840 (diff) | |
download | openbsd-593d97e74cc873d99aced677883cf55625efe62d.tar.gz openbsd-593d97e74cc873d99aced677883cf55625efe62d.tar.bz2 openbsd-593d97e74cc873d99aced677883cf55625efe62d.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 | { |