Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(120)

Side by Side Diff: openssl/crypto/store/store.h

Issue 9254031: Upgrade chrome's OpenSSL to same version Android ships with. (Closed) Base URL: http://src.chromium.org/svn/trunk/deps/third_party/openssl/
Patch Set: '' Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « openssl/crypto/store/Makefile ('k') | openssl/crypto/store/str_err.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* crypto/store/store.h -*- mode:C; c-file-style: "eay" -*- */ 1 /* crypto/store/store.h -*- mode:C; c-file-style: "eay" -*- */
2 /* Written by Richard Levitte (richard@levitte.org) for the OpenSSL 2 /* Written by Richard Levitte (richard@levitte.org) for the OpenSSL
3 * project 2003. 3 * project 2003.
4 */ 4 */
5 /* ==================================================================== 5 /* ====================================================================
6 * Copyright (c) 2003 The OpenSSL Project. All rights reserved. 6 * Copyright (c) 2003 The OpenSSL Project. All rights reserved.
7 * 7 *
8 * Redistribution and use in source and binary forms, with or without 8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions 9 * modification, are permitted provided that the following conditions
10 * are met: 10 * are met:
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 * 52 *
53 * This product includes cryptographic software written by Eric Young 53 * This product includes cryptographic software written by Eric Young
54 * (eay@cryptsoft.com). This product includes software written by Tim 54 * (eay@cryptsoft.com). This product includes software written by Tim
55 * Hudson (tjh@cryptsoft.com). 55 * Hudson (tjh@cryptsoft.com).
56 * 56 *
57 */ 57 */
58 58
59 #ifndef HEADER_STORE_H 59 #ifndef HEADER_STORE_H
60 #define HEADER_STORE_H 60 #define HEADER_STORE_H
61 61
62 #include <openssl/opensslconf.h>
63
64 #ifdef OPENSSL_NO_STORE
65 #error STORE is disabled.
66 #endif
67
62 #include <openssl/ossl_typ.h> 68 #include <openssl/ossl_typ.h>
63 #ifndef OPENSSL_NO_DEPRECATED 69 #ifndef OPENSSL_NO_DEPRECATED
64 #include <openssl/evp.h> 70 #include <openssl/evp.h>
65 #include <openssl/bn.h> 71 #include <openssl/bn.h>
66 #include <openssl/x509.h> 72 #include <openssl/x509.h>
67 #endif 73 #endif
68 74
69 #ifdef __cplusplus 75 #ifdef __cplusplus
70 extern "C" { 76 extern "C" {
71 #endif 77 #endif
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 char *cstr, size_t cstr_size); 407 char *cstr, size_t cstr_size);
402 int STORE_ATTR_INFO_modify_sha1str(STORE_ATTR_INFO *attrs, STORE_ATTR_TYPES code , 408 int STORE_ATTR_INFO_modify_sha1str(STORE_ATTR_INFO *attrs, STORE_ATTR_TYPES code ,
403 unsigned char *sha1str, size_t sha1str_size); 409 unsigned char *sha1str, size_t sha1str_size);
404 int STORE_ATTR_INFO_modify_dn(STORE_ATTR_INFO *attrs, STORE_ATTR_TYPES code, 410 int STORE_ATTR_INFO_modify_dn(STORE_ATTR_INFO *attrs, STORE_ATTR_TYPES code,
405 X509_NAME *dn); 411 X509_NAME *dn);
406 int STORE_ATTR_INFO_modify_number(STORE_ATTR_INFO *attrs, STORE_ATTR_TYPES code, 412 int STORE_ATTR_INFO_modify_number(STORE_ATTR_INFO *attrs, STORE_ATTR_TYPES code,
407 BIGNUM *number); 413 BIGNUM *number);
408 414
409 /* Compare on basis of a bit pattern formed by the STORE_ATTR_TYPES values 415 /* Compare on basis of a bit pattern formed by the STORE_ATTR_TYPES values
410 in each contained attribute. */ 416 in each contained attribute. */
411 int STORE_ATTR_INFO_compare(STORE_ATTR_INFO *a, STORE_ATTR_INFO *b); 417 int STORE_ATTR_INFO_compare(const STORE_ATTR_INFO * const *a,
418 » » » const STORE_ATTR_INFO * const *b);
412 /* Check if the set of attributes in a is within the range of attributes 419 /* Check if the set of attributes in a is within the range of attributes
413 set in b. */ 420 set in b. */
414 int STORE_ATTR_INFO_in_range(STORE_ATTR_INFO *a, STORE_ATTR_INFO *b); 421 int STORE_ATTR_INFO_in_range(STORE_ATTR_INFO *a, STORE_ATTR_INFO *b);
415 /* Check if the set of attributes in a are also set in b. */ 422 /* Check if the set of attributes in a are also set in b. */
416 int STORE_ATTR_INFO_in(STORE_ATTR_INFO *a, STORE_ATTR_INFO *b); 423 int STORE_ATTR_INFO_in(STORE_ATTR_INFO *a, STORE_ATTR_INFO *b);
417 /* Same as STORE_ATTR_INFO_in(), but also checks the attribute values. */ 424 /* Same as STORE_ATTR_INFO_in(), but also checks the attribute values. */
418 int STORE_ATTR_INFO_in_ex(STORE_ATTR_INFO *a, STORE_ATTR_INFO *b); 425 int STORE_ATTR_INFO_in_ex(STORE_ATTR_INFO *a, STORE_ATTR_INFO *b);
419 426
420 427
421 /* BEGIN ERROR CODES */ 428 /* BEGIN ERROR CODES */
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 #define STORE_R_NO_STORE 129 552 #define STORE_R_NO_STORE 129
546 #define STORE_R_NO_STORE_OBJECT_ARBITRARY_FUNCTION 137 553 #define STORE_R_NO_STORE_OBJECT_ARBITRARY_FUNCTION 137
547 #define STORE_R_NO_STORE_OBJECT_FUNCTION 125 554 #define STORE_R_NO_STORE_OBJECT_FUNCTION 125
548 #define STORE_R_NO_STORE_OBJECT_NUMBER_FUNCTION 126 555 #define STORE_R_NO_STORE_OBJECT_NUMBER_FUNCTION 126
549 #define STORE_R_NO_VALUE 130 556 #define STORE_R_NO_VALUE 130
550 557
551 #ifdef __cplusplus 558 #ifdef __cplusplus
552 } 559 }
553 #endif 560 #endif
554 #endif 561 #endif
OLDNEW
« no previous file with comments | « openssl/crypto/store/Makefile ('k') | openssl/crypto/store/str_err.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698