summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/rand
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/rand')
-rw-r--r--src/lib/libcrypto/rand/rand.h5
-rw-r--r--src/lib/libcrypto/rand/rand_lib.c11
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
84int RAND_set_rand_method(const RAND_METHOD *meth); 84int RAND_set_rand_method(const RAND_METHOD *meth);
85const RAND_METHOD *RAND_get_rand_method(void); 85const RAND_METHOD *RAND_get_rand_method(void);
86#ifndef OPENSSL_NO_ENGINE
87int RAND_set_rand_engine(ENGINE *engine);
88#endif
89RAND_METHOD *RAND_SSLeay(void); 86RAND_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}
46LCRYPTO_ALIAS(RAND_SSLeay); 46LCRYPTO_ALIAS(RAND_SSLeay);
47 47
48#ifndef OPENSSL_NO_ENGINE
49int
50RAND_set_rand_engine(ENGINE *engine)
51{
52 return 1;
53}
54LCRYPTO_ALIAS(RAND_set_rand_engine);
55#endif
56
57void 48void
58RAND_cleanup(void) 49RAND_cleanup(void)
59{ 50{