Add support for RSA_R_DATA_TOO_SMALL error 90/323690/1
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Mon, 5 May 2025 16:55:10 +0000 (18:55 +0200)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Mon, 5 May 2025 16:55:10 +0000 (18:55 +0200)
Change-Id: Ib6955f3d60f115b59189cbd6e4536527ca021029

src/manager/common/openssl-error-handler.cpp

index 82e30b564e34ad2495ce13b29457b61d7a1f77ef..a4bc6feb70e549e1a75deb6a3cc9152bc3287ec5 100644 (file)
@@ -80,6 +80,7 @@ void errorHandle(const char *file, int line, const char *function, int openssl_r
        case ERR_PACK(ERR_LIB_RSA, 0, RSA_R_INVALID_PADDING_MODE):
        case ERR_PACK(ERR_LIB_RSA, 0, RSA_R_INVALID_X931_DIGEST):
        case ERR_PACK(ERR_LIB_RSA, 0, RSA_R_DATA_TOO_LARGE):
+       case ERR_PACK(ERR_LIB_RSA, 0, RSA_R_DATA_TOO_SMALL):
        case ERR_PACK(ERR_LIB_RSA, 0, RSA_R_DATA_TOO_SMALL_FOR_KEY_SIZE):
        case ERR_PACK(ERR_LIB_RSA, 0, RSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE):
        case ERR_PACK(ERR_LIB_RSA, 0, RSA_R_OAEP_DECODING_ERROR):