]> www.wagner.pp.ru Git - openssl-gost/engine.git/blobdiff - e_gost_err.c
Fix buffer overrun in creating key transport blob according to RFC 9189, 4.2.4.1
[openssl-gost/engine.git] / e_gost_err.c
index 2a8320705f8048c5204cf41afdf75c16e6509ca1..e4903f2e052e4bb9264e0bab9b2871dee7605c71 100644 (file)
@@ -150,6 +150,7 @@ static ERR_STRING_DATA GOST_str_reasons[] = {
     {ERR_PACK(0, 0, GOST_R_ERROR_SETTING_PEER_KEY), "error setting peer key"},
     {ERR_PACK(0, 0, GOST_R_INCOMPATIBLE_ALGORITHMS), "incompatible algorithms"},
     {ERR_PACK(0, 0, GOST_R_INCOMPATIBLE_PEER_KEY), "incompatible peer key"},
+    {ERR_PACK(0, 0, GOST_R_INVALID_BUFFER_SIZE), "invalid buffer size"},
     {ERR_PACK(0, 0, GOST_R_INVALID_CIPHER), "invalid cipher"},
     {ERR_PACK(0, 0, GOST_R_INVALID_CIPHER_PARAMS), "invalid cipher params"},
     {ERR_PACK(0, 0, GOST_R_INVALID_CIPHER_PARAM_OID),