Home
last modified time | relevance | path

Searched refs:errcode (Results 1 – 9 of 9) sorted by relevance

/openssl/test/recipes/
H A D02-test_errstr.t60 my $errcode = "Errno::$errname"->();
71 if $errcode == 0;
75 if $errcode < 0;
77 &ok(match_syserr_reason($errcode));
133 my $errcode = shift;
136 my $errcode_hex = sprintf "%x", $errcode;
146 my $errcode = shift;
152 local $! = $errcode;
160 push @strings, "reason($errcode)";
162 return match_opensslerr_reason(ERR_SYSTEM_FLAG | $errcode, @strings);
/openssl/crypto/bio/
H A Dbio_err.c98 int BIO_err_is_non_fatal(unsigned int errcode) in BIO_err_is_non_fatal() argument
100 if (ERR_SYSTEM_ERROR(errcode)) in BIO_err_is_non_fatal()
101 return BIO_sock_non_fatal_error(ERR_GET_REASON(errcode)); in BIO_err_is_non_fatal()
102 else if (ERR_GET_LIB(errcode) == ERR_LIB_BIO in BIO_err_is_non_fatal()
103 && ERR_GET_REASON(errcode) == BIO_R_NON_FATAL) in BIO_err_is_non_fatal()
/openssl/include/openssl/
H A Derr.h.in241 # define ERR_SYSTEM_ERROR(errcode) (((errcode) & ERR_SYSTEM_FLAG) != 0) argument
243 static ossl_unused ossl_inline int ERR_GET_LIB(unsigned long errcode) argument
245 if (ERR_SYSTEM_ERROR(errcode))
247 return (errcode >> ERR_LIB_OFFSET) & ERR_LIB_MASK;
252 if (ERR_SYSTEM_ERROR(errcode))
254 return errcode & (ERR_RFLAGS_MASK << ERR_RFLAGS_OFFSET);
259 if (ERR_SYSTEM_ERROR(errcode))
260 return errcode & ERR_SYSTEM_MASK;
261 return errcode & ERR_REASON_MASK;
266 return (ERR_GET_RFLAGS(errcode) & ERR_RFLAG_FATAL) != 0;
[all …]
H A Dbio.h.in723 int BIO_err_is_non_fatal(unsigned int errcode);
/openssl/crypto/x509/
H A Dv3_lib.c221 int errcode, extidx = -1; in X509V3_add1_i2d() local
240 errcode = X509V3_R_EXTENSION_EXISTS; in X509V3_add1_i2d()
257 errcode = X509V3_R_EXTENSION_NOT_FOUND; in X509V3_add1_i2d()
302 ERR_raise(ERR_LIB_X509V3, errcode); in X509V3_add1_i2d()
H A Dx509_vfy.c776 static int check_id_error(X509_STORE_CTX *ctx, int errcode) in check_id_error() argument
778 return verify_cb_cert(ctx, ctx->cert, 0, errcode); in check_id_error()
/openssl/ssl/
H A Dssl_mcnf.c75 int errcode = rv == -2 ? SSL_R_UNKNOWN_COMMAND : SSL_R_BAD_VALUE; in ssl_do_config() local
77 ERR_raise_data(ERR_LIB_SSL, errcode, in ssl_do_config()
/openssl/crypto/conf/
H A Dconf_mod.c286 int errcode = 0; in module_load_dso() local
296 errcode = CONF_R_ERROR_LOADING_DSO; in module_load_dso()
301 errcode = CONF_R_MISSING_INIT_FUNCTION; in module_load_dso()
315 ERR_raise_data(ERR_LIB_CONF, errcode, "module=%s, path=%s", name, path); in module_load_dso()
/openssl/doc/man3/
H A DBIO_sendmmsg.pod30 int BIO_err_is_non_fatal(unsigned int errcode);
180 B<ERR_LIB_SYS>; for a packed error code B<errcode> where
181 C<ERR_SYSTEM_ERROR(errcode) == 1>, the OS-level socket error code can be
182 retrieved using C<ERR_GET_REASON(errcode)>. The packed error code can be

Completed in 51 milliseconds