Skip to content

Commit 9b896e5

Browse files
authored
fix: avoid emptying nomcom session key when openssl complains about derivation (ietf-tools#4524)
1 parent feab9fb commit 9b896e5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/nomcom/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def store_nomcom_private_key(request, year, private_key):
202202
)
203203
if code != 0:
204204
log("openssl error: %s:\n Error %s: %s" %(command, code, error))
205-
if error:
205+
if error and error!=b"*** WARNING : deprecated key derivation used.\nUsing -iter or -pbkdf2 would be better.\n":
206206
out = ''
207207
request.session['NOMCOM_PRIVATE_KEY_%s' % year] = out
208208

0 commit comments

Comments
 (0)