pgcrypto: report init errors as PXE_CIPHER_INIT
authorDaniel Gustafsson <dgustafsson@postgresql.org>
Fri, 6 May 2022 12:41:33 +0000 (14:41 +0200)
committerDaniel Gustafsson <dgustafsson@postgresql.org>
Fri, 6 May 2022 12:41:33 +0000 (14:41 +0200)
commit0250a167a07d4d2cff932e467d84306cbd3704fe
treea9301694c0d1a380d62e14992ea0363e65e1b705
parent17ec5fa502d299b1919b1afacda839fb7d8206ad
pgcrypto: report init errors as PXE_CIPHER_INIT

Report OpenSSL errors during initialization as PXE_CIPHER_INIT since
that's just what they were, and not generic unknown errors. This also
removes the last users of the generic error, and thus it can be removed.

Discussion: http://postgr.es/m/C89D932C-501E-4473-9750-638CFCD9095E@yesql.se
contrib/pgcrypto/openssl.c
contrib/pgcrypto/px.c
contrib/pgcrypto/px.h