From 630974f6fecfdf8acc13f03c36a6238d1c6a5b73 Mon Sep 17 00:00:00 2001 From: Arnaud Fontaine Date: Thu, 15 Jul 2021 11:54:49 +0200 Subject: [PATCH] Update default value for sex attribute --- src/fr/anssi/smartpgp/Persistent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fr/anssi/smartpgp/Persistent.java b/src/fr/anssi/smartpgp/Persistent.java index 78c6f26..6c28328 100644 --- a/src/fr/anssi/smartpgp/Persistent.java +++ b/src/fr/anssi/smartpgp/Persistent.java @@ -177,7 +177,7 @@ public final class Persistent { lang_length = (byte)Constants.LANG_DEFAULT.length; Common.commitTransaction(isRegistering); - sex = Constants.SEX_NOT_KNOWN; + sex = Constants.SEX_NOT_APPLICABLE; Util.arrayFillNonAtomic(digital_signature_counter, (short)0, (short)digital_signature_counter.length, (byte)0);