diff options
Diffstat (limited to 'src/lib/libcrypto/pkcs12/p12_crt.c')
| -rw-r--r-- | src/lib/libcrypto/pkcs12/p12_crt.c | 191 |
1 files changed, 87 insertions, 104 deletions
diff --git a/src/lib/libcrypto/pkcs12/p12_crt.c b/src/lib/libcrypto/pkcs12/p12_crt.c index a5dffcebd7..538637e78a 100644 --- a/src/lib/libcrypto/pkcs12/p12_crt.c +++ b/src/lib/libcrypto/pkcs12/p12_crt.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: p12_crt.c,v 1.13 2014/06/12 15:49:30 deraadt Exp $ */ | 1 | /* $OpenBSD: p12_crt.c,v 1.14 2014/07/08 09:24:53 jsing Exp $ */ |
| 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
| 3 | * project. | 3 | * project. |
| 4 | */ | 4 | */ |
| @@ -10,7 +10,7 @@ | |||
| 10 | * are met: | 10 | * are met: |
| 11 | * | 11 | * |
| 12 | * 1. Redistributions of source code must retain the above copyright | 12 | * 1. Redistributions of source code must retain the above copyright |
| 13 | * notice, this list of conditions and the following disclaimer. | 13 | * notice, this list of conditions and the following disclaimer. |
| 14 | * | 14 | * |
| 15 | * 2. Redistributions in binary form must reproduce the above copyright | 15 | * 2. Redistributions in binary form must reproduce the above copyright |
| 16 | * notice, this list of conditions and the following disclaimer in | 16 | * notice, this list of conditions and the following disclaimer in |
| @@ -61,12 +61,15 @@ | |||
| 61 | #include <openssl/pkcs12.h> | 61 | #include <openssl/pkcs12.h> |
| 62 | 62 | ||
| 63 | 63 | ||
| 64 | static int pkcs12_add_bag(STACK_OF(PKCS12_SAFEBAG) **pbags, PKCS12_SAFEBAG *bag); | 64 | static int pkcs12_add_bag(STACK_OF(PKCS12_SAFEBAG) **pbags, |
| 65 | PKCS12_SAFEBAG *bag); | ||
| 65 | 66 | ||
| 66 | static int copy_bag_attr(PKCS12_SAFEBAG *bag, EVP_PKEY *pkey, int nid) | 67 | static int |
| 67 | { | 68 | copy_bag_attr(PKCS12_SAFEBAG *bag, EVP_PKEY *pkey, int nid) |
| 69 | { | ||
| 68 | int idx; | 70 | int idx; |
| 69 | X509_ATTRIBUTE *attr; | 71 | X509_ATTRIBUTE *attr; |
| 72 | |||
| 70 | idx = EVP_PKEY_get_attr_by_NID(pkey, nid, -1); | 73 | idx = EVP_PKEY_get_attr_by_NID(pkey, nid, -1); |
| 71 | if (idx < 0) | 74 | if (idx < 0) |
| 72 | return 1; | 75 | return 1; |
| @@ -74,11 +77,12 @@ static int copy_bag_attr(PKCS12_SAFEBAG *bag, EVP_PKEY *pkey, int nid) | |||
| 74 | if (!X509at_add1_attr(&bag->attrib, attr)) | 77 | if (!X509at_add1_attr(&bag->attrib, attr)) |
| 75 | return 0; | 78 | return 0; |
| 76 | return 1; | 79 | return 1; |
| 77 | } | 80 | } |
| 78 | 81 | ||
| 79 | PKCS12 *PKCS12_create(char *pass, char *name, EVP_PKEY *pkey, X509 *cert, | 82 | PKCS12 * |
| 80 | STACK_OF(X509) *ca, int nid_key, int nid_cert, int iter, int mac_iter, | 83 | PKCS12_create(char *pass, char *name, EVP_PKEY *pkey, X509 *cert, |
| 81 | int keytype) | 84 | STACK_OF(X509) *ca, int nid_key, int nid_cert, int iter, int mac_iter, |
| 85 | int keytype) | ||
| 82 | { | 86 | { |
| 83 | PKCS12 *p12 = NULL; | 87 | PKCS12 *p12 = NULL; |
| 84 | STACK_OF(PKCS7) *safes = NULL; | 88 | STACK_OF(PKCS7) *safes = NULL; |
| @@ -89,10 +93,9 @@ PKCS12 *PKCS12_create(char *pass, char *name, EVP_PKEY *pkey, X509 *cert, | |||
| 89 | unsigned int keyidlen = 0; | 93 | unsigned int keyidlen = 0; |
| 90 | 94 | ||
| 91 | /* Set defaults */ | 95 | /* Set defaults */ |
| 92 | if (!nid_cert) | 96 | if (!nid_cert) { |
| 93 | { | ||
| 94 | nid_cert = NID_pbe_WithSHA1And40BitRC2_CBC; | 97 | nid_cert = NID_pbe_WithSHA1And40BitRC2_CBC; |
| 95 | } | 98 | } |
| 96 | if (!nid_key) | 99 | if (!nid_key) |
| 97 | nid_key = NID_pbe_WithSHA1And3_Key_TripleDES_CBC; | 100 | nid_key = NID_pbe_WithSHA1And3_Key_TripleDES_CBC; |
| 98 | if (!iter) | 101 | if (!iter) |
| @@ -100,43 +103,39 @@ PKCS12 *PKCS12_create(char *pass, char *name, EVP_PKEY *pkey, X509 *cert, | |||
| 100 | if (!mac_iter) | 103 | if (!mac_iter) |
| 101 | mac_iter = 1; | 104 | mac_iter = 1; |
| 102 | 105 | ||
| 103 | if(!pkey && !cert && !ca) | 106 | if (!pkey && !cert && !ca) { |
| 104 | { | 107 | PKCS12err(PKCS12_F_PKCS12_CREATE, |
| 105 | PKCS12err(PKCS12_F_PKCS12_CREATE,PKCS12_R_INVALID_NULL_ARGUMENT); | 108 | PKCS12_R_INVALID_NULL_ARGUMENT); |
| 106 | return NULL; | 109 | return NULL; |
| 107 | } | 110 | } |
| 108 | 111 | ||
| 109 | if (pkey && cert) | 112 | if (pkey && cert) { |
| 110 | { | 113 | if (!X509_check_private_key(cert, pkey)) |
| 111 | if(!X509_check_private_key(cert, pkey)) | ||
| 112 | return NULL; | 114 | return NULL; |
| 113 | X509_digest(cert, EVP_sha1(), keyid, &keyidlen); | 115 | X509_digest(cert, EVP_sha1(), keyid, &keyidlen); |
| 114 | } | 116 | } |
| 115 | 117 | ||
| 116 | if (cert) | 118 | if (cert) { |
| 117 | { | ||
| 118 | bag = PKCS12_add_cert(&bags, cert); | 119 | bag = PKCS12_add_cert(&bags, cert); |
| 119 | if(name && !PKCS12_add_friendlyname(bag, name, -1)) | 120 | if (name && !PKCS12_add_friendlyname(bag, name, -1)) |
| 120 | goto err; | 121 | goto err; |
| 121 | if(keyidlen && !PKCS12_add_localkeyid(bag, keyid, keyidlen)) | 122 | if (keyidlen && !PKCS12_add_localkeyid(bag, keyid, keyidlen)) |
| 122 | goto err; | 123 | goto err; |
| 123 | } | 124 | } |
| 124 | 125 | ||
| 125 | /* Add all other certificates */ | 126 | /* Add all other certificates */ |
| 126 | for(i = 0; i < sk_X509_num(ca); i++) | 127 | for (i = 0; i < sk_X509_num(ca); i++) { |
| 127 | { | ||
| 128 | if (!PKCS12_add_cert(&bags, sk_X509_value(ca, i))) | 128 | if (!PKCS12_add_cert(&bags, sk_X509_value(ca, i))) |
| 129 | goto err; | 129 | goto err; |
| 130 | } | 130 | } |
| 131 | 131 | ||
| 132 | if (bags && !PKCS12_add_safe(&safes, bags, nid_cert, iter, pass)) | 132 | if (bags && !PKCS12_add_safe(&safes, bags, nid_cert, iter, pass)) |
| 133 | goto err; | 133 | goto err; |
| 134 | 134 | ||
| 135 | sk_PKCS12_SAFEBAG_pop_free(bags, PKCS12_SAFEBAG_free); | 135 | sk_PKCS12_SAFEBAG_pop_free(bags, PKCS12_SAFEBAG_free); |
| 136 | bags = NULL; | 136 | bags = NULL; |
| 137 | 137 | ||
| 138 | if (pkey) | 138 | if (pkey) { |
| 139 | { | ||
| 140 | bag = PKCS12_add_key(&bags, pkey, keytype, iter, nid_key, pass); | 139 | bag = PKCS12_add_key(&bags, pkey, keytype, iter, nid_key, pass); |
| 141 | 140 | ||
| 142 | if (!bag) | 141 | if (!bag) |
| @@ -147,14 +146,14 @@ PKCS12 *PKCS12_create(char *pass, char *name, EVP_PKEY *pkey, X509 *cert, | |||
| 147 | if (!copy_bag_attr(bag, pkey, NID_LocalKeySet)) | 146 | if (!copy_bag_attr(bag, pkey, NID_LocalKeySet)) |
| 148 | goto err; | 147 | goto err; |
| 149 | 148 | ||
| 150 | if(name && !PKCS12_add_friendlyname(bag, name, -1)) | 149 | if (name && !PKCS12_add_friendlyname(bag, name, -1)) |
| 151 | goto err; | 150 | goto err; |
| 152 | if(keyidlen && !PKCS12_add_localkeyid(bag, keyid, keyidlen)) | 151 | if (keyidlen && !PKCS12_add_localkeyid(bag, keyid, keyidlen)) |
| 153 | goto err; | 152 | goto err; |
| 154 | } | 153 | } |
| 155 | 154 | ||
| 156 | if (bags && !PKCS12_add_safe(&safes, bags, -1, 0, NULL)) | 155 | if (bags && !PKCS12_add_safe(&safes, bags, -1, 0, NULL)) |
| 157 | goto err; | 156 | goto err; |
| 158 | 157 | ||
| 159 | sk_PKCS12_SAFEBAG_pop_free(bags, PKCS12_SAFEBAG_free); | 158 | sk_PKCS12_SAFEBAG_pop_free(bags, PKCS12_SAFEBAG_free); |
| 160 | bags = NULL; | 159 | bags = NULL; |
| @@ -169,13 +168,12 @@ PKCS12 *PKCS12_create(char *pass, char *name, EVP_PKEY *pkey, X509 *cert, | |||
| 169 | safes = NULL; | 168 | safes = NULL; |
| 170 | 169 | ||
| 171 | if ((mac_iter != -1) && | 170 | if ((mac_iter != -1) && |
| 172 | !PKCS12_set_mac(p12, pass, -1, NULL, 0, mac_iter, NULL)) | 171 | !PKCS12_set_mac(p12, pass, -1, NULL, 0, mac_iter, NULL)) |
| 173 | goto err; | 172 | goto err; |
| 174 | 173 | ||
| 175 | return p12; | 174 | return p12; |
| 176 | 175 | ||
| 177 | err: | 176 | err: |
| 178 | |||
| 179 | if (p12) | 177 | if (p12) |
| 180 | PKCS12_free(p12); | 178 | PKCS12_free(p12); |
| 181 | if (safes) | 179 | if (safes) |
| @@ -183,11 +181,11 @@ PKCS12 *PKCS12_create(char *pass, char *name, EVP_PKEY *pkey, X509 *cert, | |||
| 183 | if (bags) | 181 | if (bags) |
| 184 | sk_PKCS12_SAFEBAG_pop_free(bags, PKCS12_SAFEBAG_free); | 182 | sk_PKCS12_SAFEBAG_pop_free(bags, PKCS12_SAFEBAG_free); |
| 185 | return NULL; | 183 | return NULL; |
| 186 | |||
| 187 | } | 184 | } |
| 188 | 185 | ||
| 189 | PKCS12_SAFEBAG *PKCS12_add_cert(STACK_OF(PKCS12_SAFEBAG) **pbags, X509 *cert) | 186 | PKCS12_SAFEBAG * |
| 190 | { | 187 | PKCS12_add_cert(STACK_OF(PKCS12_SAFEBAG) **pbags, X509 *cert) |
| 188 | { | ||
| 191 | PKCS12_SAFEBAG *bag = NULL; | 189 | PKCS12_SAFEBAG *bag = NULL; |
| 192 | char *name; | 190 | char *name; |
| 193 | int namelen = -1; | 191 | int namelen = -1; |
| @@ -195,21 +193,19 @@ PKCS12_SAFEBAG *PKCS12_add_cert(STACK_OF(PKCS12_SAFEBAG) **pbags, X509 *cert) | |||
| 195 | int keyidlen = -1; | 193 | int keyidlen = -1; |
| 196 | 194 | ||
| 197 | /* Add user certificate */ | 195 | /* Add user certificate */ |
| 198 | if(!(bag = PKCS12_x5092certbag(cert))) | 196 | if (!(bag = PKCS12_x5092certbag(cert))) |
| 199 | goto err; | 197 | goto err; |
| 200 | 198 | ||
| 201 | /* Use friendlyName and localKeyID in certificate. | 199 | /* Use friendlyName and localKeyID in certificate. |
| 202 | * (if present) | 200 | * (if present) |
| 203 | */ | 201 | */ |
| 204 | |||
| 205 | name = (char *)X509_alias_get0(cert, &namelen); | 202 | name = (char *)X509_alias_get0(cert, &namelen); |
| 206 | 203 | if (name && !PKCS12_add_friendlyname(bag, name, namelen)) | |
| 207 | if(name && !PKCS12_add_friendlyname(bag, name, namelen)) | ||
| 208 | goto err; | 204 | goto err; |
| 209 | 205 | ||
| 210 | keyid = X509_keyid_get0(cert, &keyidlen); | 206 | keyid = X509_keyid_get0(cert, &keyidlen); |
| 211 | 207 | ||
| 212 | if(keyid && !PKCS12_add_localkeyid(bag, keyid, keyidlen)) | 208 | if (keyid && !PKCS12_add_localkeyid(bag, keyid, keyidlen)) |
| 213 | goto err; | 209 | goto err; |
| 214 | 210 | ||
| 215 | if (!pkcs12_add_bag(pbags, bag)) | 211 | if (!pkcs12_add_bag(pbags, bag)) |
| @@ -217,37 +213,33 @@ PKCS12_SAFEBAG *PKCS12_add_cert(STACK_OF(PKCS12_SAFEBAG) **pbags, X509 *cert) | |||
| 217 | 213 | ||
| 218 | return bag; | 214 | return bag; |
| 219 | 215 | ||
| 220 | err: | 216 | err: |
| 221 | |||
| 222 | if (bag) | 217 | if (bag) |
| 223 | PKCS12_SAFEBAG_free(bag); | 218 | PKCS12_SAFEBAG_free(bag); |
| 224 | 219 | ||
| 225 | return NULL; | 220 | return NULL; |
| 221 | } | ||
| 226 | 222 | ||
| 227 | } | 223 | PKCS12_SAFEBAG * |
| 228 | 224 | PKCS12_add_key(STACK_OF(PKCS12_SAFEBAG) **pbags, EVP_PKEY *key, int key_usage, | |
| 229 | PKCS12_SAFEBAG *PKCS12_add_key(STACK_OF(PKCS12_SAFEBAG) **pbags, EVP_PKEY *key, | 225 | int iter, int nid_key, char *pass) |
| 230 | int key_usage, int iter, | 226 | { |
| 231 | int nid_key, char *pass) | ||
| 232 | { | ||
| 233 | |||
| 234 | PKCS12_SAFEBAG *bag = NULL; | 227 | PKCS12_SAFEBAG *bag = NULL; |
| 235 | PKCS8_PRIV_KEY_INFO *p8 = NULL; | 228 | PKCS8_PRIV_KEY_INFO *p8 = NULL; |
| 236 | 229 | ||
| 237 | /* Make a PKCS#8 structure */ | 230 | /* Make a PKCS#8 structure */ |
| 238 | if(!(p8 = EVP_PKEY2PKCS8(key))) | 231 | if (!(p8 = EVP_PKEY2PKCS8(key))) |
| 239 | goto err; | 232 | goto err; |
| 240 | if(key_usage && !PKCS8_add_keyusage(p8, key_usage)) | 233 | if (key_usage && !PKCS8_add_keyusage(p8, key_usage)) |
| 241 | goto err; | 234 | goto err; |
| 242 | if (nid_key != -1) | 235 | if (nid_key != -1) { |
| 243 | { | 236 | bag = PKCS12_MAKE_SHKEYBAG(nid_key, pass, -1, NULL, 0, |
| 244 | bag = PKCS12_MAKE_SHKEYBAG(nid_key, pass, -1, NULL, 0, iter, p8); | 237 | iter, p8); |
| 245 | PKCS8_PRIV_KEY_INFO_free(p8); | 238 | PKCS8_PRIV_KEY_INFO_free(p8); |
| 246 | } | 239 | } else |
| 247 | else | ||
| 248 | bag = PKCS12_MAKE_KEYBAG(p8); | 240 | bag = PKCS12_MAKE_KEYBAG(p8); |
| 249 | 241 | ||
| 250 | if(!bag) | 242 | if (!bag) |
| 251 | goto err; | 243 | goto err; |
| 252 | 244 | ||
| 253 | if (!pkcs12_add_bag(pbags, bag)) | 245 | if (!pkcs12_add_bag(pbags, bag)) |
| @@ -255,29 +247,26 @@ PKCS12_SAFEBAG *PKCS12_add_key(STACK_OF(PKCS12_SAFEBAG) **pbags, EVP_PKEY *key, | |||
| 255 | 247 | ||
| 256 | return bag; | 248 | return bag; |
| 257 | 249 | ||
| 258 | err: | 250 | err: |
| 259 | |||
| 260 | if (bag) | 251 | if (bag) |
| 261 | PKCS12_SAFEBAG_free(bag); | 252 | PKCS12_SAFEBAG_free(bag); |
| 262 | 253 | ||
| 263 | return NULL; | 254 | return NULL; |
| 255 | } | ||
| 264 | 256 | ||
| 265 | } | 257 | int |
| 266 | 258 | PKCS12_add_safe(STACK_OF(PKCS7) **psafes, STACK_OF(PKCS12_SAFEBAG) *bags, | |
| 267 | int PKCS12_add_safe(STACK_OF(PKCS7) **psafes, STACK_OF(PKCS12_SAFEBAG) *bags, | 259 | int nid_safe, int iter, char *pass) |
| 268 | int nid_safe, int iter, char *pass) | 260 | { |
| 269 | { | ||
| 270 | PKCS7 *p7 = NULL; | 261 | PKCS7 *p7 = NULL; |
| 271 | int free_safes = 0; | 262 | int free_safes = 0; |
| 272 | 263 | ||
| 273 | if (!*psafes) | 264 | if (!*psafes) { |
| 274 | { | ||
| 275 | *psafes = sk_PKCS7_new_null(); | 265 | *psafes = sk_PKCS7_new_null(); |
| 276 | if (!*psafes) | 266 | if (!*psafes) |
| 277 | return 0; | 267 | return 0; |
| 278 | free_safes = 1; | 268 | free_safes = 1; |
| 279 | } | 269 | } else |
| 280 | else | ||
| 281 | free_safes = 0; | 270 | free_safes = 0; |
| 282 | 271 | ||
| 283 | if (nid_safe == 0) | 272 | if (nid_safe == 0) |
| @@ -287,7 +276,7 @@ int PKCS12_add_safe(STACK_OF(PKCS7) **psafes, STACK_OF(PKCS12_SAFEBAG) *bags, | |||
| 287 | p7 = PKCS12_pack_p7data(bags); | 276 | p7 = PKCS12_pack_p7data(bags); |
| 288 | else | 277 | else |
| 289 | p7 = PKCS12_pack_p7encdata(nid_safe, pass, -1, NULL, 0, | 278 | p7 = PKCS12_pack_p7encdata(nid_safe, pass, -1, NULL, 0, |
| 290 | iter, bags); | 279 | iter, bags); |
| 291 | if (!p7) | 280 | if (!p7) |
| 292 | goto err; | 281 | goto err; |
| 293 | 282 | ||
| @@ -296,53 +285,49 @@ int PKCS12_add_safe(STACK_OF(PKCS7) **psafes, STACK_OF(PKCS12_SAFEBAG) *bags, | |||
| 296 | 285 | ||
| 297 | return 1; | 286 | return 1; |
| 298 | 287 | ||
| 299 | err: | 288 | err: |
| 300 | if (free_safes) | 289 | if (free_safes) { |
| 301 | { | ||
| 302 | sk_PKCS7_free(*psafes); | 290 | sk_PKCS7_free(*psafes); |
| 303 | *psafes = NULL; | 291 | *psafes = NULL; |
| 304 | } | 292 | } |
| 305 | 293 | ||
| 306 | if (p7) | 294 | if (p7) |
| 307 | PKCS7_free(p7); | 295 | PKCS7_free(p7); |
| 308 | 296 | ||
| 309 | return 0; | 297 | return 0; |
| 298 | } | ||
| 310 | 299 | ||
| 311 | } | 300 | static int |
| 312 | 301 | pkcs12_add_bag(STACK_OF(PKCS12_SAFEBAG) **pbags, PKCS12_SAFEBAG *bag) | |
| 313 | static int pkcs12_add_bag(STACK_OF(PKCS12_SAFEBAG) **pbags, PKCS12_SAFEBAG *bag) | 302 | { |
| 314 | { | ||
| 315 | int free_bags; | 303 | int free_bags; |
| 304 | |||
| 316 | if (!pbags) | 305 | if (!pbags) |
| 317 | return 1; | 306 | return 1; |
| 318 | if (!*pbags) | 307 | if (!*pbags) { |
| 319 | { | ||
| 320 | *pbags = sk_PKCS12_SAFEBAG_new_null(); | 308 | *pbags = sk_PKCS12_SAFEBAG_new_null(); |
| 321 | if (!*pbags) | 309 | if (!*pbags) |
| 322 | return 0; | 310 | return 0; |
| 323 | free_bags = 1; | 311 | free_bags = 1; |
| 324 | } | 312 | } else |
| 325 | else | ||
| 326 | free_bags = 0; | 313 | free_bags = 0; |
| 327 | 314 | ||
| 328 | if (!sk_PKCS12_SAFEBAG_push(*pbags, bag)) | 315 | if (!sk_PKCS12_SAFEBAG_push(*pbags, bag)) { |
| 329 | { | 316 | if (free_bags) { |
| 330 | if (free_bags) | ||
| 331 | { | ||
| 332 | sk_PKCS12_SAFEBAG_free(*pbags); | 317 | sk_PKCS12_SAFEBAG_free(*pbags); |
| 333 | *pbags = NULL; | 318 | *pbags = NULL; |
| 334 | } | ||
| 335 | return 0; | ||
| 336 | } | 319 | } |
| 320 | return 0; | ||
| 321 | } | ||
| 337 | 322 | ||
| 338 | return 1; | 323 | return 1; |
| 324 | } | ||
| 339 | 325 | ||
| 340 | } | 326 | PKCS12 * |
| 341 | 327 | PKCS12_add_safes(STACK_OF(PKCS7) *safes, int nid_p7) | |
| 342 | 328 | { | |
| 343 | PKCS12 *PKCS12_add_safes(STACK_OF(PKCS7) *safes, int nid_p7) | ||
| 344 | { | ||
| 345 | PKCS12 *p12; | 329 | PKCS12 *p12; |
| 330 | |||
| 346 | if (nid_p7 <= 0) | 331 | if (nid_p7 <= 0) |
| 347 | nid_p7 = NID_pkcs7_data; | 332 | nid_p7 = NID_pkcs7_data; |
| 348 | p12 = PKCS12_init(nid_p7); | 333 | p12 = PKCS12_init(nid_p7); |
| @@ -350,12 +335,10 @@ PKCS12 *PKCS12_add_safes(STACK_OF(PKCS7) *safes, int nid_p7) | |||
| 350 | if (!p12) | 335 | if (!p12) |
| 351 | return NULL; | 336 | return NULL; |
| 352 | 337 | ||
| 353 | if(!PKCS12_pack_authsafes(p12, safes)) | 338 | if (!PKCS12_pack_authsafes(p12, safes)) { |
| 354 | { | ||
| 355 | PKCS12_free(p12); | 339 | PKCS12_free(p12); |
| 356 | return NULL; | 340 | return NULL; |
| 357 | } | 341 | } |
| 358 | 342 | ||
| 359 | return p12; | 343 | return p12; |
| 360 | 344 | } | |
| 361 | } | ||
