diff options
-rw-r--r-- | src/lib/libcrypto/rand/rand.h | 5 | ||||
-rw-r--r-- | src/lib/libssl/src/crypto/rand/rand.h | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/src/lib/libcrypto/rand/rand.h b/src/lib/libcrypto/rand/rand.h index 6ed16b9c41..fcb2e9218d 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.21 2014/07/10 22:45:57 jsing Exp $ */ | 1 | /* $OpenBSD: rand.h,v 1.22 2014/10/22 14:02:52 jsing 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 | * |
@@ -87,6 +87,8 @@ const RAND_METHOD *RAND_get_rand_method(void); | |||
87 | int RAND_set_rand_engine(ENGINE *engine); | 87 | int RAND_set_rand_engine(ENGINE *engine); |
88 | #endif | 88 | #endif |
89 | RAND_METHOD *RAND_SSLeay(void); | 89 | RAND_METHOD *RAND_SSLeay(void); |
90 | |||
91 | #ifndef LIBRESSL_INTERNAL | ||
90 | void RAND_cleanup(void ); | 92 | void RAND_cleanup(void ); |
91 | int RAND_bytes(unsigned char *buf, int num); | 93 | int RAND_bytes(unsigned char *buf, int num); |
92 | int RAND_pseudo_bytes(unsigned char *buf, int num); | 94 | int RAND_pseudo_bytes(unsigned char *buf, int num); |
@@ -97,6 +99,7 @@ int RAND_write_file(const char *file); | |||
97 | const char *RAND_file_name(char *file, size_t num); | 99 | const char *RAND_file_name(char *file, size_t num); |
98 | int RAND_status(void); | 100 | int RAND_status(void); |
99 | int RAND_poll(void); | 101 | int RAND_poll(void); |
102 | #endif | ||
100 | 103 | ||
101 | /* BEGIN ERROR CODES */ | 104 | /* BEGIN ERROR CODES */ |
102 | /* The following lines are auto generated by the script mkerr.pl. Any changes | 105 | /* The following lines are auto generated by the script mkerr.pl. Any changes |
diff --git a/src/lib/libssl/src/crypto/rand/rand.h b/src/lib/libssl/src/crypto/rand/rand.h index 6ed16b9c41..fcb2e9218d 100644 --- a/src/lib/libssl/src/crypto/rand/rand.h +++ b/src/lib/libssl/src/crypto/rand/rand.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rand.h,v 1.21 2014/07/10 22:45:57 jsing Exp $ */ | 1 | /* $OpenBSD: rand.h,v 1.22 2014/10/22 14:02:52 jsing 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 | * |
@@ -87,6 +87,8 @@ const RAND_METHOD *RAND_get_rand_method(void); | |||
87 | int RAND_set_rand_engine(ENGINE *engine); | 87 | int RAND_set_rand_engine(ENGINE *engine); |
88 | #endif | 88 | #endif |
89 | RAND_METHOD *RAND_SSLeay(void); | 89 | RAND_METHOD *RAND_SSLeay(void); |
90 | |||
91 | #ifndef LIBRESSL_INTERNAL | ||
90 | void RAND_cleanup(void ); | 92 | void RAND_cleanup(void ); |
91 | int RAND_bytes(unsigned char *buf, int num); | 93 | int RAND_bytes(unsigned char *buf, int num); |
92 | int RAND_pseudo_bytes(unsigned char *buf, int num); | 94 | int RAND_pseudo_bytes(unsigned char *buf, int num); |
@@ -97,6 +99,7 @@ int RAND_write_file(const char *file); | |||
97 | const char *RAND_file_name(char *file, size_t num); | 99 | const char *RAND_file_name(char *file, size_t num); |
98 | int RAND_status(void); | 100 | int RAND_status(void); |
99 | int RAND_poll(void); | 101 | int RAND_poll(void); |
102 | #endif | ||
100 | 103 | ||
101 | /* BEGIN ERROR CODES */ | 104 | /* BEGIN ERROR CODES */ |
102 | /* The following lines are auto generated by the script mkerr.pl. Any changes | 105 | /* The following lines are auto generated by the script mkerr.pl. Any changes |