Fix compilation without OpenSSL
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4404 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
f9daf30bba
commit
ce0645d6d1
|
@ -801,6 +801,7 @@ cosm_emu_update_any_df(struct sc_pkcs15_card *p15card, struct sc_profile *profil
|
|||
int rv = SC_ERROR_NOT_SUPPORTED;
|
||||
|
||||
SC_FUNC_CALLED(ctx, 1);
|
||||
#ifdef ENABLE_OPENSSL
|
||||
switch(op) {
|
||||
case SC_AC_OP_ERASE:
|
||||
sc_debug(ctx, SC_LOG_DEBUG_NORMAL, "Update DF; erase object('%s',type:%X)", object->label, object->type);
|
||||
|
@ -811,7 +812,7 @@ cosm_emu_update_any_df(struct sc_pkcs15_card *p15card, struct sc_profile *profil
|
|||
rv = awp_update_df_create(p15card, profile, object);
|
||||
break;
|
||||
}
|
||||
|
||||
#endif
|
||||
SC_FUNC_RETURN(ctx, 1, rv);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue