70 if (x == NULL)
return(0);
80 if (obj == NULL)
return(-2);
90 if (sk == NULL)
return(-1);
95 for ( ; lastpos < n; lastpos++)
110 if (sk == NULL)
return(-1);
115 for ( ; lastpos < n; lastpos++)
118 if ( ((ex->
critical > 0) && crit) ||
166 else if (loc < 0) loc=n;
178 if (new_ex != NULL) X509_EXTENSION_free(new_ex);
205 if ((ex == NULL) || (*ex == NULL))
207 if ((ret=X509_EXTENSION_new()) == NULL)
223 if ((ex != NULL) && (*ex == NULL)) *ex=ret;
226 if ((ex == NULL) || (ret != *ex))
227 X509_EXTENSION_free(ret);
233 if ((ex == NULL) || (obj == NULL))
242 if (ex == NULL)
return(0);
251 if (ex == NULL)
return(0);
259 if (ex == NULL)
return(NULL);
265 if (ex == NULL)
return(NULL);
271 if (ex == NULL)
return(0);