We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3854803 commit a85b25aCopy full SHA for a85b25a
src/libopensc/card-piv.c
@@ -5350,6 +5350,7 @@ piv_finish(sc_card_t *card)
5350
piv_clear_sm_session(&priv->sm_session);
5351
#endif /* USE_PIV_SM */
5352
5353
+ free(priv->cert_signer_der);
5354
free(priv);
5355
card->drv_data = NULL; /* priv */
5356
}
@@ -5927,7 +5928,7 @@ static int piv_init(sc_card_t *card)
5927
5928
5929
/* If SM did not start, or is not expected to start, continue on without it */
5930
-#endif /* USE_PIV_SM */
5931
+#endif /* defined(USE_PIV_SM) || defined(USE_SM_NIST) */
5932
5933
/*
5934
* 800-73-3 cards may have a history object
0 commit comments