mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-10-31 03:30:35 -04:00 
			
		
		
		
	Fix copypasta in the async callback documentation
This commit is contained in:
		
							parent
							
								
									807d74a062
								
							
						
					
					
						commit
						6a8cb36c24
					
				| @ -568,9 +568,8 @@ typedef struct mbedtls_ssl_flight_item mbedtls_ssl_flight_item; | |||||||
|  *                  does not wait for the operation to complete. This allows |  *                  does not wait for the operation to complete. This allows | ||||||
|  *                  the handshake step to be non-blocking. |  *                  the handshake step to be non-blocking. | ||||||
|  * |  * | ||||||
|  *                  The parameters \p ssl and \p cert are |  *                  The parameters \p ssl and \p cert are guaranteed to remain | ||||||
|  *                  guaranteed to remain valid as long as the SSL |  *                  valid throughout the handshake. On the other hand, this | ||||||
|  *                  configuration remains valid. On the other hand, this |  | ||||||
|  *                  function must save the contents of \p hash if the value |  *                  function must save the contents of \p hash if the value | ||||||
|  *                  is needed for later processing, because the \p hash buffer |  *                  is needed for later processing, because the \p hash buffer | ||||||
|  *                  is no longer valid after this function returns. |  *                  is no longer valid after this function returns. | ||||||
| @ -588,7 +587,7 @@ typedef struct mbedtls_ssl_flight_item mbedtls_ssl_flight_item; | |||||||
|  *                    encoding, treating \p hash as the DigestInfo to be |  *                    encoding, treating \p hash as the DigestInfo to be | ||||||
|  *                    padded. In other words, apply EMSA-PKCS1-v1_5 starting |  *                    padded. In other words, apply EMSA-PKCS1-v1_5 starting | ||||||
|  *                    from step 3, with `T = hash` and `tLen = hash_len`. |  *                    from step 3, with `T = hash` and `tLen = hash_len`. | ||||||
|  *                  - If \p md_alg is #MBEDTLS_MD_NONE, apply the PKCS#1 v1.5 |  *                  - If `md_alg != MBEDTLS_MD_NONE`, apply the PKCS#1 v1.5 | ||||||
|  *                    encoding, treating \p hash as the hash to be encoded and |  *                    encoding, treating \p hash as the hash to be encoded and | ||||||
|  *                    padded. In other words, apply EMSA-PKCS1-v1_5 starting |  *                    padded. In other words, apply EMSA-PKCS1-v1_5 starting | ||||||
|  *                    from step 2, with `digestAlgorithm` obtained by calling |  *                    from step 2, with `digestAlgorithm` obtained by calling | ||||||
| @ -645,9 +644,8 @@ typedef int mbedtls_ssl_async_sign_t( mbedtls_ssl_context *ssl, | |||||||
|  *                  does not wait for the operation to complete. This allows |  *                  does not wait for the operation to complete. This allows | ||||||
|  *                  the handshake step to be non-blocking. |  *                  the handshake step to be non-blocking. | ||||||
|  * |  * | ||||||
|  *                  The parameters \p ssl and \p cert are |  *                  The parameters \p ssl and \p cert are guaranteed to remain | ||||||
|  *                  guaranteed to remain valid as long as the SSL |  *                  valid throughout the handshake. On the other hand, this | ||||||
|  *                  configuration remains valid. On the other hand, this |  | ||||||
|  *                  function must save the contents of \p input if the value |  *                  function must save the contents of \p input if the value | ||||||
|  *                  is needed for later processing, because the \p input buffer |  *                  is needed for later processing, because the \p input buffer | ||||||
|  *                  is no longer valid after this function returns. |  *                  is no longer valid after this function returns. | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Gilles Peskine
						Gilles Peskine