• Tom Lane's avatar
    Clean up error message reported after \password encryption failure. · ab27df24
    Tom Lane authored
    Experimenting with FIPS mode enabled, I saw
    
    regression=# \password joe
    Enter new password for user "joe":
    Enter it again:
    could not encrypt password: disabled for FIPS
    out of memory
    
    because PQencryptPasswordConn was still of the opinion that "out of
    memory" is always appropriate to print.
    
    Minor oversight in b69aba745.  Like that one, back-patch to v14.
    ab27df24
fe-auth.c 33.6 KB