mirror of
https://github.com/openbsd/src.git
synced 2025-01-10 06:47:55 -08:00
There are two actual uses of e_os2.h in libssl - an OPENSSL_GLOBAL (an
empty define) and an OPENSSL_EXTERN (which is defined as, well... extern). The use of OPENSSL_EXTERN is already inconsistent since the lines above and below just use plain old "extern". Expand the two uses of these macros and stop including e_os2.h in libssl. ok miod@
This commit is contained in:
parent
46859c4ae3
commit
68b99d3222
@ -166,7 +166,7 @@ const char ssl3_version_str[]="SSLv3" OPENSSL_VERSION_PTEXT;
|
||||
#define SSL3_NUM_CIPHERS (sizeof(ssl3_ciphers) / sizeof(SSL_CIPHER))
|
||||
|
||||
/* list of available SSLv3 ciphers (sorted by id) */
|
||||
OPENSSL_GLOBAL SSL_CIPHER ssl3_ciphers[] = {
|
||||
SSL_CIPHER ssl3_ciphers[] = {
|
||||
|
||||
/* The RSA ciphers */
|
||||
/* Cipher 01 */
|
||||
|
@ -166,7 +166,7 @@ const char ssl3_version_str[]="SSLv3" OPENSSL_VERSION_PTEXT;
|
||||
#define SSL3_NUM_CIPHERS (sizeof(ssl3_ciphers) / sizeof(SSL_CIPHER))
|
||||
|
||||
/* list of available SSLv3 ciphers (sorted by id) */
|
||||
OPENSSL_GLOBAL SSL_CIPHER ssl3_ciphers[] = {
|
||||
SSL_CIPHER ssl3_ciphers[] = {
|
||||
|
||||
/* The RSA ciphers */
|
||||
/* Cipher 01 */
|
||||
|
@ -143,8 +143,6 @@
|
||||
#ifndef HEADER_SSL_H
|
||||
#define HEADER_SSL_H
|
||||
|
||||
#include <openssl/e_os2.h>
|
||||
|
||||
#ifndef OPENSSL_NO_COMP
|
||||
#include <openssl/comp.h>
|
||||
#endif
|
||||
|
@ -121,7 +121,6 @@
|
||||
#include <dirent.h>
|
||||
|
||||
#include <openssl/opensslconf.h>
|
||||
#include <openssl/e_os2.h>
|
||||
#include <openssl/objects.h>
|
||||
#include <openssl/bio.h>
|
||||
#include <openssl/pem.h>
|
||||
|
@ -152,7 +152,6 @@
|
||||
#include <unistd.h>
|
||||
|
||||
#include <openssl/opensslconf.h>
|
||||
#include <openssl/e_os2.h>
|
||||
#include <openssl/buffer.h>
|
||||
#ifndef OPENSSL_NO_COMP
|
||||
#include <openssl/comp.h>
|
||||
@ -566,8 +565,7 @@ typedef struct ssl3_comp_st {
|
||||
#endif
|
||||
|
||||
extern SSL3_ENC_METHOD ssl3_undef_enc_method;
|
||||
OPENSSL_EXTERN SSL_CIPHER ssl3_ciphers[];
|
||||
|
||||
extern SSL_CIPHER ssl3_ciphers[];
|
||||
|
||||
SSL_METHOD *ssl_bad_method(int ver);
|
||||
|
||||
|
@ -143,8 +143,6 @@
|
||||
#ifndef HEADER_SSL_H
|
||||
#define HEADER_SSL_H
|
||||
|
||||
#include <openssl/e_os2.h>
|
||||
|
||||
#ifndef OPENSSL_NO_COMP
|
||||
#include <openssl/comp.h>
|
||||
#endif
|
||||
|
@ -121,7 +121,6 @@
|
||||
#include <dirent.h>
|
||||
|
||||
#include <openssl/opensslconf.h>
|
||||
#include <openssl/e_os2.h>
|
||||
#include <openssl/objects.h>
|
||||
#include <openssl/bio.h>
|
||||
#include <openssl/pem.h>
|
||||
|
@ -152,7 +152,6 @@
|
||||
#include <unistd.h>
|
||||
|
||||
#include <openssl/opensslconf.h>
|
||||
#include <openssl/e_os2.h>
|
||||
#include <openssl/buffer.h>
|
||||
#ifndef OPENSSL_NO_COMP
|
||||
#include <openssl/comp.h>
|
||||
@ -566,8 +565,7 @@ typedef struct ssl3_comp_st {
|
||||
#endif
|
||||
|
||||
extern SSL3_ENC_METHOD ssl3_undef_enc_method;
|
||||
OPENSSL_EXTERN SSL_CIPHER ssl3_ciphers[];
|
||||
|
||||
extern SSL_CIPHER ssl3_ciphers[];
|
||||
|
||||
SSL_METHOD *ssl_bad_method(int ver);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user