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

Side by Side Diff: net/base/net_error_list.h

Issue 508823009: Mark SHA-1 as deprecated (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cert_verify_result_sha1
Patch Set: Created 6 years, 3 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file intentionally does not have header guards, it's included 5 // This file intentionally does not have header guards, it's included
6 // inside a macro to generate enum values. 6 // inside a macro to generate enum values.
7 7
8 // This file contains the list of network errors. 8 // This file contains the list of network errors.
9 9
10 // 10 //
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 // The host name specified in the certificate is not unique. 429 // The host name specified in the certificate is not unique.
430 NET_ERROR(CERT_NON_UNIQUE_NAME, -210) 430 NET_ERROR(CERT_NON_UNIQUE_NAME, -210)
431 431
432 // The server responded with a certificate that contains a weak key (e.g. 432 // The server responded with a certificate that contains a weak key (e.g.
433 // a too-small RSA key). 433 // a too-small RSA key).
434 NET_ERROR(CERT_WEAK_KEY, -211) 434 NET_ERROR(CERT_WEAK_KEY, -211)
435 435
436 // The certificate claimed DNS names that are in violation of name constraints. 436 // The certificate claimed DNS names that are in violation of name constraints.
437 NET_ERROR(CERT_NAME_CONSTRAINT_VIOLATION, -212) 437 NET_ERROR(CERT_NAME_CONSTRAINT_VIOLATION, -212)
438 438
439 // The certificate uses a deprecated signature algorithm, was issued before
440 // the deprecation sunset date, and is valid for longer than the deprecation
441 // date.
442 // After the deprecation date, this becomes CERT_WEAK_SIGNATURE_ALGORITHM.
palmer 2014/08/28 21:23:13 "this becomes" --> certs using deprecated algorith
443 NET_ERROR(CERT_DEPRECATED_SIGNATURE_ALGORITHM, -213)
444
439 // Add new certificate error codes here. 445 // Add new certificate error codes here.
440 // 446 //
441 // Update the value of CERT_END whenever you add a new certificate error 447 // Update the value of CERT_END whenever you add a new certificate error
442 // code. 448 // code.
443 449
444 // The value immediately past the last certificate error code. 450 // The value immediately past the last certificate error code.
445 NET_ERROR(CERT_END, -213) 451 NET_ERROR(CERT_END, -214)
446 452
447 // The URL is invalid. 453 // The URL is invalid.
448 NET_ERROR(INVALID_URL, -300) 454 NET_ERROR(INVALID_URL, -300)
449 455
450 // The scheme of the URL is disallowed. 456 // The scheme of the URL is disallowed.
451 NET_ERROR(DISALLOWED_URL_SCHEME, -301) 457 NET_ERROR(DISALLOWED_URL_SCHEME, -301)
452 458
453 // The scheme of the URL is unknown. 459 // The scheme of the URL is unknown.
454 NET_ERROR(UNKNOWN_URL_SCHEME, -302) 460 NET_ERROR(UNKNOWN_URL_SCHEME, -302)
455 461
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
765 NET_ERROR(DNS_TIMED_OUT, -803) 771 NET_ERROR(DNS_TIMED_OUT, -803)
766 772
767 // The entry was not found in cache, for cache-only lookups. 773 // The entry was not found in cache, for cache-only lookups.
768 NET_ERROR(DNS_CACHE_MISS, -804) 774 NET_ERROR(DNS_CACHE_MISS, -804)
769 775
770 // Suffix search list rules prevent resolution of the given host name. 776 // Suffix search list rules prevent resolution of the given host name.
771 NET_ERROR(DNS_SEARCH_EMPTY, -805) 777 NET_ERROR(DNS_SEARCH_EMPTY, -805)
772 778
773 // Failed to sort addresses according to RFC3484. 779 // Failed to sort addresses according to RFC3484.
774 NET_ERROR(DNS_SORT_ERROR, -806) 780 NET_ERROR(DNS_SORT_ERROR, -806)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698