RT2547: Tighten perms on generated privkey files
[openssl.git] / apps / apps.h
index a8652a1bb7ff66e4ffe238704b5a52fc49a4ce30..b83d4b2aeeb262095ec930f0fdb6f8374207f3a2 100644 (file)
 # define HEADER_APPS_H
 
 # include "e_os.h"
+# include <assert.h>
 
 # include <openssl/bio.h>
 # include <openssl/x509.h>
@@ -153,6 +154,7 @@ extern BIO *bio_out;
 extern BIO *bio_err;
 BIO *dup_bio_in(void);
 BIO *dup_bio_out(void);
+BIO *bio_open_owner(const char *filename, const char *mode, int private);
 BIO *bio_open_default(const char *filename, const char *mode);
 BIO *bio_open_default_quiet(const char *filename, const char *mode);
 CONF *app_load_config(const char *filename);