summaryrefslogtreecommitdiff
path: root/src/lib/libssl/src/apps/genrsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/src/apps/genrsa.c')
-rw-r--r--src/lib/libssl/src/apps/genrsa.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/lib/libssl/src/apps/genrsa.c b/src/lib/libssl/src/apps/genrsa.c
index 7e5dd2b239..96a678cbb8 100644
--- a/src/lib/libssl/src/apps/genrsa.c
+++ b/src/lib/libssl/src/apps/genrsa.c
@@ -57,6 +57,7 @@
57 */ 57 */
58 58
59#include <openssl/opensslconf.h> 59#include <openssl/opensslconf.h>
60
60/* Until the key-gen callbacks are modified to use newer prototypes, we allow 61/* Until the key-gen callbacks are modified to use newer prototypes, we allow
61 * deprecated functions for openssl-internal code */ 62 * deprecated functions for openssl-internal code */
62#ifdef OPENSSL_NO_DEPRECATED 63#ifdef OPENSSL_NO_DEPRECATED
@@ -64,19 +65,23 @@
64#endif 65#endif
65 66
66#ifndef OPENSSL_NO_RSA 67#ifndef OPENSSL_NO_RSA
67#include <stdio.h> 68
68#include <string.h>
69#include <sys/types.h> 69#include <sys/types.h>
70#include <sys/stat.h> 70#include <sys/stat.h>
71
72#include <stdio.h>
73#include <string.h>
74
71#include "apps.h" 75#include "apps.h"
76
72#include <openssl/bio.h> 77#include <openssl/bio.h>
73#include <openssl/err.h>
74#include <openssl/bn.h> 78#include <openssl/bn.h>
75#include <openssl/rsa.h> 79#include <openssl/err.h>
76#include <openssl/evp.h> 80#include <openssl/evp.h>
77#include <openssl/x509.h>
78#include <openssl/pem.h> 81#include <openssl/pem.h>
79#include <openssl/rand.h> 82#include <openssl/rand.h>
83#include <openssl/rsa.h>
84#include <openssl/x509.h>
80 85
81#define DEFBITS 2048 86#define DEFBITS 2048
82 87