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;
147 my $errcode = shift;
153 local $! = $errcode;
161 push @strings, "reason($errcode)";
163 return match_opensslerr_reason(ERR_SYSTEM_FLAG | $errcode, @strings);
/openssl/test/
H A Dasn1_stable_parse_test.c41 unsigned long errcode; in test_asn1_stable_parse() local
50 errcode = ERR_peek_error(); in test_asn1_stable_parse()
51 if (ERR_GET_LIB(errcode) != ERR_LIB_ASN1) in test_asn1_stable_parse()
53 if (ERR_GET_REASON(errcode) != ASN1_R_INVALID_STRING_TABLE_VALUE) in test_asn1_stable_parse()
/openssl/crypto/bio/
H A Dbio_err.c103 int BIO_err_is_non_fatal(unsigned int errcode) in BIO_err_is_non_fatal() argument
105 if (ERR_SYSTEM_ERROR(errcode)) in BIO_err_is_non_fatal()
106 return BIO_sock_non_fatal_error(ERR_GET_REASON(errcode)); in BIO_err_is_non_fatal()
107 else if (ERR_GET_LIB(errcode) == ERR_LIB_BIO in BIO_err_is_non_fatal()
108 && 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.in791 int BIO_err_is_non_fatal(unsigned int errcode);
/openssl/crypto/x509/
H A Dv3_lib.c222 int errcode, extidx = -1; in X509V3_add1_i2d() local
241 errcode = X509V3_R_EXTENSION_EXISTS; in X509V3_add1_i2d()
258 errcode = X509V3_R_EXTENSION_NOT_FOUND; in X509V3_add1_i2d()
303 ERR_raise(ERR_LIB_X509V3, errcode); in X509V3_add1_i2d()
H A Dx509_vfy.c863 static int check_id_error(X509_STORE_CTX *ctx, int errcode) in check_id_error() argument
865 return verify_cb_cert(ctx, ctx->cert, 0, errcode); in check_id_error()
/openssl/crypto/conf/
H A Dconf_mod.c304 int errcode = 0; in module_load_dso() local
314 errcode = CONF_R_ERROR_LOADING_DSO; in module_load_dso()
319 errcode = CONF_R_MISSING_INIT_FUNCTION; in module_load_dso()
333 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);
185 B<ERR_LIB_SYS>; for a packed error code B<errcode> where
186 C<ERR_SYSTEM_ERROR(errcode) == 1>, the OS-level socket error code can be
187 retrieved using C<ERR_GET_REASON(errcode)>. The packed error code can be

Completed in 32 milliseconds