equal
deleted
inserted
replaced
768 xmlSecKeyDestroy(tmpKey); |
768 xmlSecKeyDestroy(tmpKey); |
769 } |
769 } |
770 } |
770 } |
771 |
771 |
772 /* finally set key name if it is not there */ |
772 /* finally set key name if it is not there */ |
773 if(xmlSecKeyGetName(key) == NULL) { |
773 if(xmlSecKeyGetName(key) == NULL) |
774 xmlSecKeySetName(key, newName); |
774 { |
775 } |
775 if(xmlSecKeySetName(key, newName)<0) |
|
776 { |
|
777 xmlFree(newName); |
|
778 return(-1); |
|
779 } |
|
780 } |
776 xmlFree(newName); |
781 xmlFree(newName); |
777 return(0); |
782 return(0); |
778 } |
783 } |
779 |
784 |
780 static int |
785 static int |