OSSL_STORE: spell error reason correctly
authorRichard Levitte <levitte@openssl.org>
Tue, 11 Jul 2017 09:46:14 +0000 (11:46 +0200)
committerRichard Levitte <levitte@openssl.org>
Sat, 15 Jul 2017 16:53:07 +0000 (18:53 +0200)
Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3907)

crypto/err/openssl.txt
crypto/store/loader_file.c
crypto/store/store_err.c
include/openssl/storeerr.h

index 04f48a5a10e4d7ab652208d4dec05e2077592d63..f8428706d2db6416cc7037ff7f4a55fe551b13e1 100644 (file)
@@ -2004,7 +2004,7 @@ OSSL_STORE_R_UI_PROCESS_INTERRUPTED_OR_CANCELLED:109:\
        ui process interrupted or cancelled
 OSSL_STORE_R_UNREGISTERED_SCHEME:105:unregistered scheme
 OSSL_STORE_R_UNSUPPORTED_CONTENT_TYPE:110:unsupported content type
-OSSL_STORE_R_URI_AUTHORITY_UNSUPPORED:111:uri authority unsuppored
+OSSL_STORE_R_URI_AUTHORITY_UNSUPPORTED:111:uri authority unsupported
 PEM_R_BAD_BASE64_DECODE:100:bad base64 decode
 PEM_R_BAD_DECRYPT:101:bad decrypt
 PEM_R_BAD_END_LINE:102:bad end line
index 06094bf2746e73be2ff0bb82e96314c8531677ce..85ab2b4206f28bfbacd32da3508b6f33d4fd4007 100644 (file)
@@ -755,7 +755,7 @@ static OSSL_STORE_LOADER_CTX *file_open(const OSSL_STORE_LOADER *loader,
             path = &uri[5];
         } else {
             OSSL_STOREerr(OSSL_STORE_F_FILE_OPEN,
-                          OSSL_STORE_R_URI_AUTHORITY_UNSUPPORED);
+                          OSSL_STORE_R_URI_AUTHORITY_UNSUPPORTED);
             return NULL;
         }
 
index 86a15c9a97bbb22df125e3751be04e874f2f2bc8..c78b3899f7a3e0969e7e6b463332114aea906c6b 100644 (file)
@@ -104,8 +104,8 @@ static const ERR_STRING_DATA OSSL_STORE_str_reasons[] = {
     "unregistered scheme"},
     {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_UNSUPPORTED_CONTENT_TYPE),
     "unsupported content type"},
-    {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_URI_AUTHORITY_UNSUPPORED),
-    "uri authority unsuppored"},
+    {ERR_PACK(ERR_LIB_OSSL_STORE, 0, OSSL_STORE_R_URI_AUTHORITY_UNSUPPORTED),
+    "uri authority unsupported"},
     {0, NULL}
 };
 
index b1d23de64a263e7c91a4c0d4227f8a9ecb532369..cffe8dea182e44ad9923022938a7afda565e0983 100644 (file)
@@ -73,6 +73,6 @@ int ERR_load_OSSL_STORE_strings(void);
 # define OSSL_STORE_R_UI_PROCESS_INTERRUPTED_OR_CANCELLED 109
 # define OSSL_STORE_R_UNREGISTERED_SCHEME                 105
 # define OSSL_STORE_R_UNSUPPORTED_CONTENT_TYPE            110
-# define OSSL_STORE_R_URI_AUTHORITY_UNSUPPORED            111
+# define OSSL_STORE_R_URI_AUTHORITY_UNSUPPORTED           111
 
 #endif