~andersk/ubuntu/oneiric/openssl/spurious-reboot

« back to all changes in this revision

Viewing changes to crypto/x509/x509_set.c

  • Committer: Bazaar Package Importer
  • Author(s): Kurt Roeckx
  • Date: 2010-12-12 15:37:21 UTC
  • mto: (1.2.1 upstream) (11.2.1 experimental)
  • mto: This revision was merged to the branch mainline in revision 55.
  • Revision ID: james.westby@ubuntu.com-20101212153721-mfw51stum5hwztpd
Tags: upstream-1.0.0c
ImportĀ upstreamĀ versionĀ 1.0.0c

Show diffs side-by-side

added added

removed removed

Lines of Context:
104
104
        return(X509_NAME_set(&x->cert_info->subject,name));
105
105
        }
106
106
 
107
 
int X509_set_notBefore(X509 *x, ASN1_TIME *tm)
 
107
int X509_set_notBefore(X509 *x, const ASN1_TIME *tm)
108
108
        {
109
109
        ASN1_TIME *in;
110
110
 
122
122
        return(in != NULL);
123
123
        }
124
124
 
125
 
int X509_set_notAfter(X509 *x, ASN1_TIME *tm)
 
125
int X509_set_notAfter(X509 *x, const ASN1_TIME *tm)
126
126
        {
127
127
        ASN1_TIME *in;
128
128