~ubuntu-branches/ubuntu/maverick/openssl/maverick

« back to all changes in this revision

Viewing changes to crypto/x509v3/v3_ocsp.c

  • Committer: Bazaar Package Importer
  • Author(s): Kurt Roeckx
  • Date: 2005-12-13 21:37:42 UTC
  • mto: (11.1.1 lenny)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20051213213742-d0ydaylf80l16bj1
Tags: upstream-0.9.8a
ImportĀ upstreamĀ versionĀ 0.9.8a

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
 
75
75
static void *ocsp_nonce_new(void);
76
76
static int i2d_ocsp_nonce(void *a, unsigned char **pp);
77
 
static void *d2i_ocsp_nonce(void *a, unsigned char **pp, long length);
 
77
static void *d2i_ocsp_nonce(void *a, const unsigned char **pp, long length);
78
78
static void ocsp_nonce_free(void *a);
79
79
static int i2r_ocsp_nonce(X509V3_EXT_METHOD *method, void *nonce, BIO *out, int indent);
80
80
 
81
81
static int i2r_ocsp_nocheck(X509V3_EXT_METHOD *method, void *nocheck, BIO *out, int indent);
82
 
static void *s2i_ocsp_nocheck(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, char *str);
 
82
static void *s2i_ocsp_nocheck(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, const char *str);
83
83
static int i2r_ocsp_serviceloc(X509V3_EXT_METHOD *method, void *in, BIO *bp, int ind);
84
84
 
85
85
X509V3_EXT_METHOD v3_ocsp_crlid = {
208
208
        return os->length;
209
209
}
210
210
 
211
 
static void *d2i_ocsp_nonce(void *a, unsigned char **pp, long length)
 
211
static void *d2i_ocsp_nonce(void *a, const unsigned char **pp, long length)
212
212
{
213
213
        ASN1_OCTET_STRING *os, **pos;
214
214
        pos = a;
246
246
        return 1;
247
247
}
248
248
 
249
 
static void *s2i_ocsp_nocheck(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, char *str)
 
249
static void *s2i_ocsp_nocheck(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, const char *str)
250
250
{
251
251
        return ASN1_NULL_new();
252
252
}