use additional data template

This commit is contained in:
Frank Morgner
2013-02-27 20:58:44 +01:00
parent 0ffedbef2d
commit 7f84772778

View File

@@ -233,9 +233,11 @@ static int add_to_ASN1_AUXILIARY_DATA(
template = &(*templates)->template1; template = &(*templates)->template1;
else if (!(*templates)->template2) else if (!(*templates)->template2)
template = &(*templates)->template2; template = &(*templates)->template2;
else if (!(*templates)->template3)
template = &(*templates)->template3;
else { else {
fprintf(stderr, fprintf(stderr,
"Choose at most two nPA operations.\n"); "Choose at most three nPA operations.\n");
r = SC_ERROR_INVALID_ARGUMENTS; r = SC_ERROR_INVALID_ARGUMENTS;
goto err; goto err;
} }