Lines Matching defs:error
113 #error "OPENSSL_VERSION_NUMBER not defined"
932 /* Return error string for last OpenSSL error
934 static char *ossl_strerror(unsigned long error, char *buf, size_t size)
951 ERR_error_string_n((uint32_t)error, buf, size);
953 ERR_error_string_n(error, buf, size);
957 const char *msg = error ? "Unknown error" : "No error";
1049 CURLE_SSL_CONNECT_ERROR /* confusing error code */);
1306 " error %s, "
1327 " error %s, "
1411 " error %s",
1422 " error %s",
1439 failf(data, "error reading PKCS12 file '%s'",
1450 " error %s",
1462 " error %s",
1701 * @retval 0 error initializing SSL
1739 /* Let's get nice error messages */
1770 /* Free OpenSSL error strings */
1773 /* Free thread local error state, destroying hash upon zero refcount */
1906 case SSL_ERROR_NONE: /* this is not an error */
1920 CURL_TRC_CF(data, cf, "SSL shutdown, error: '%s', errno %d",
1956 char buf[256]; /* We will use this for the OpenSSL error buffer, so it has
1993 case SSL_ERROR_NONE: /* this is not an error */
2009 /* openssl/ssl.h says "look at error stack/return value/errno" */
2079 /* OpenSSL 1.0.1 and 1.0.2 build an error queue that is stored per-thread
2081 code should extract the error in association with the error so clearing
2303 /* error already detected, pass through */
2993 /* set count to 0 to return an error */
3003 /* set count to 0 to return an error */
3013 /* if we didn't end up importing anything, treat that as an error */
3209 infof(data, "error importing Windows %s store, continuing anyway",
3217 failf(data, "error importing CA certificate blob");
3232 failf(data, "error setting certificate file: %s", ssl_cafile);
3236 infof(data, "error setting certificate file, continuing anyway");
3241 failf(data, "error setting certificate path: %s", ssl_capath);
3245 infof(data, "error setting certificate path, continuing anyway");
3253 failf(data, "error setting certificate verify locations:"
3260 infof(data, "error setting certificate verify locations,"
3285 failf(data, "error loading CRL file: %s", ssl_crlfile);
3515 /* This happens when an error was encountered before in this
3763 failf(data, "error signaled by ssl ctx callback");
3885 <0 is "handshake was not successful, because a fatal error occurred" */
3913 /* untreated error */
3924 /* Get the earliest error code from the thread's error queue and remove
3955 error to client */
3965 /* detail is already set to the SSL error above */
4190 " error %s",
4265 " error %s",
4278 " error %s",
4478 /* fatal error */
4625 /* A failure in the SSL library occurred, usually a protocol error.
4626 The OpenSSL error queue contains more information on the error. */
4628 failf(data, "SSL_write() error: %s",
4635 /* a true error */
4677 case SSL_ERROR_NONE: /* this is not an error */
4693 /* openssl/ssl.h for SSL_ERROR_SYSCALL says "look at error stack/return
4703 /* If the return code was negative or there actually is an error in the
4719 /* For debug builds be a little stricter and error on any