diff options
author | Bodo Möller <bodo@openssl.org> | 1999-07-30 10:43:34 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 1999-07-30 10:43:34 +0000 |
commit | a40f6dce871e8e020ca16713cc19798fcc141ed1 (patch) | |
tree | 77442d9ca2d7b28e3afadcee3127011d34fc7dd1 /crypto/err | |
parent | 08dbdb85eeb860f5a74a7d04efc3ed56372d372a (diff) | |
download | openssl-a40f6dce871e8e020ca16713cc19798fcc141ed1.tar.gz |
correct error signalling for opendir() failure
Diffstat (limited to 'crypto/err')
-rw-r--r-- | crypto/err/err.c | 1 | ||||
-rw-r--r-- | crypto/err/err.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/crypto/err/err.c b/crypto/err/err.c index b3ac5ba21b..8810d838c6 100644 --- a/crypto/err/err.c +++ b/crypto/err/err.c @@ -116,6 +116,7 @@ static ERR_STRING_DATA ERR_str_functs[]= #ifdef WINDOWS {ERR_PACK(0,SYS_F_WSASTARTUP,0), "WSAstartup"}, #endif + {ERR_PACK(0,SYS_F_OPENDIR,0), "opendir"}, {0,NULL}, }; diff --git a/crypto/err/err.h b/crypto/err/err.h index 0ef83d5ead..9411fb3568 100644 --- a/crypto/err/err.h +++ b/crypto/err/err.h @@ -170,6 +170,7 @@ typedef struct err_state_st #define SYS_F_LISTEN 7 #define SYS_F_ACCEPT 8 #define SYS_F_WSASTARTUP 9 /* Winsock stuff */ +#define SYS_F_OPENDIR 10 #define ERR_R_FATAL 32 /* reasons */ |