зеркало из https://github.com/mozilla/pjs.git
Bugzilla bug 94685: added missing 'case' in a switch statement. I have
to say that switch statement looks unusual.
This commit is contained in:
Родитель
4744490ddb
Коммит
a15cb85cc6
|
@ -34,7 +34,7 @@
|
||||||
/*
|
/*
|
||||||
* CMS attributes.
|
* CMS attributes.
|
||||||
*
|
*
|
||||||
* $Id: cmsattr.c,v 1.4 2001-01-07 08:13:07 nelsonb%netscape.com Exp $
|
* $Id: cmsattr.c,v 1.5 2001-08-22 23:22:12 wtc%netscape.com Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "cmslocal.h"
|
#include "cmslocal.h"
|
||||||
|
@ -234,8 +234,8 @@ cms_attr_choose_attr_value_template(void *src_or_dest, PRBool encoding)
|
||||||
theTemplate = SEC_ASN1_GET(SEC_AnyTemplate);
|
theTemplate = SEC_ASN1_GET(SEC_AnyTemplate);
|
||||||
} else {
|
} else {
|
||||||
switch (oiddata->offset) {
|
switch (oiddata->offset) {
|
||||||
SEC_OID_PKCS9_SMIME_CAPABILITIES:
|
case SEC_OID_PKCS9_SMIME_CAPABILITIES:
|
||||||
SEC_OID_SMIME_ENCRYPTION_KEY_PREFERENCE:
|
case SEC_OID_SMIME_ENCRYPTION_KEY_PREFERENCE:
|
||||||
/* these guys need to stay DER-encoded */
|
/* these guys need to stay DER-encoded */
|
||||||
default:
|
default:
|
||||||
/* same goes for OIDs that are not handled here */
|
/* same goes for OIDs that are not handled here */
|
||||||
|
|
Загрузка…
Ссылка в новой задаче